<script setup lang="ts"></script>

<template>
  <div class="fixed-calendar">
    <el-calendar />
  </div>
</template>

<style scoped lang="less">
.el-calendar {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 400px;
  height: auto;
  background: none;
  color: #63a1b2;
  border: 1px solid var(--el-border-color);
  border-radius: var(--el-border-radius-base);
  animation: calendarAppear 0.75s;

  /deep/ .el-calendar-day {
    height: auto;
    display: flex;
    justify-content: center;
  }

  /deep/ button {
    background: none;
  }

  /deep/ .is-selected {
    background: rgba(255, 255, 255, 0.3);
  }
}

@keyframes calendarAppear {
  0% {
    transform: translate(-100%, 0);
  }
  100% {
    transform: none;
  }
}

@media screen and (max-width: 1350px) {
  .el-calendar {
    display: none;
  }
}
</style>
